package chat.serverToClientMessage;

import chat.client.Client;

public class LoginAnswer implements ServerToClientMessage {

	private static final long serialVersionUID = 1L;
	private boolean enable;
	
	public LoginAnswer(boolean b) {
		this.enable = b;
	}
	
	public synchronized boolean getEnable(){
		return enable;
	}

	@Override
	public void processOnClient(Client client) {
		client.setLogEnable(this);
	}

}
